package com.dyzs.domain;

import android.content.ContentValues;

public class PlanJourney{	
	private String journeyDay;
	private String content;
	private String planId;
	private String userId;
	
	public PlanJourney() {
		
	}

	public String getJourneyDay() {
		return journeyDay;
	}


	public void setJourneyDay(String journeyDay) {
		this.journeyDay = journeyDay;
	}
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	public String getPlanId() {
		return planId;
	}

	public void setPlanId(String planId) {
		this.planId = planId;
	}

	public String getUserId() {
		return userId;
	}


	public void setUserId(String userId) {
		this.userId = userId;
	}

	public ContentValues getContentValues(){
		ContentValues values = new ContentValues();
		//想该对象当中插入键值对，其中键是列名，值是希望插入到这一列的值，值必须和数据库当中的数据类型一致
		values.put("plan_id", this.getPlanId());
		values.put("user_id", this.getUserId());
		values.put("journey_day", this.getJourneyDay());
		values.put("journey_content", this.getContent());
		return values;
	}
	
	
	
}
